package structuralModel.bridge.reductionBridge;

import structuralModel.bridge.reductionBridge.dto.BasicConfigBenefitExtDto;
import structuralModel.bridge.reductionBridge.dto.BasicConfigExtDto;

public class reductionBridgeClientTest {
    public static void main(String[] args) {
        /***
         * 项目排放和基本排放的 配置信息结构是一致的
         *
         * 预期经济效益和实际经济效益的 配置信息结构是一致的
         */


        BasicConfigExtDto basicConfigExtDto = new BasicConfigExtDto();
        // 基本项目数据采集
        BasicProjectAcquisitionOperationData basicData = new BasicProjectAcquisitionOperationData(new BasicEmissionConfigInfo());
        basicData.distinctData(basicConfigExtDto);

        // 项目数据采集
        BasicProjectAcquisitionOperationData ProjectData = new BasicProjectAcquisitionOperationData(new ProjectEmissionConfigInfo());
        ProjectData.distinctData(basicConfigExtDto);


        BasicConfigBenefitExtDto basicConfigBenefitExtDto = new BasicConfigBenefitExtDto();
        // 预期与
        ExpectationRealityAcquisitionOperationData realityData = new ExpectationRealityAcquisitionOperationData(new ExpectEconomicBenefitConfigInfo());
        realityData.distinctData(basicConfigBenefitExtDto);


        //实际数据采集
        ExpectationRealityAcquisitionOperationData expectData = new ExpectationRealityAcquisitionOperationData(new RealEconomicBenefitConfigInfo());
        expectData.distinctData(basicConfigBenefitExtDto);

    }
}
